package forum;

import java.io.Serializable;

public class ForumTag implements Serializable{
	
	private static final long serialVersionUID = 416326231723490203L;
	private int tagId;
	private String tagName;
	private boolean printed;

	public ForumTag(int tagId, String tagName) {
		this.tagId = tagId;
		this.tagName = tagName;
		printed = false;
	}

	public int getTagId() {
		return tagId;
	}

	public void setTagId(int tagId) {
		this.tagId = tagId;
	}

	public String getTagName() {
		return tagName;
	}

	public void setTagName(String tagName) {
		this.tagName = tagName;
	}
	
	public boolean isPrinted() {
		return printed;
	}

	public void setPrinted(boolean printed) {
		this.printed = printed;
	}
	
	public String toString() {
		return tagId + " " + tagName + " " + printed;
	}
}
